home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / answers / news / inn-faq / diff1 < prev    next >
Internet Message Format  |  1994-04-05  |  15KB

  1. Path: bloom-beacon.mit.edu!hookup!usc!cs.utexas.edu!uunet!news.mentorg.com!sdl!not-for-mail
  2. From: tal@Warren.MENTORG.COM (Tom Limoncelli)
  3. Newsgroups: news.software.nntp,news.software.b,news.answers
  4. Subject: Changes to INN FAQ Part 1/4: General Information
  5. Supersedes: <inn-faq-changes-1-765518416@Warren.MENTORG.COM>
  6. Followup-To: news.software.nntp
  7. Date: 5 Apr 1994 11:31:03 -0400
  8. Organization: Mentor Graphics - IC Group, Warren, NJ, USA
  9. Lines: 435
  10. Sender: tal@Warren.MENTORG.COM
  11. Approved: news-answers-request@MIT.Edu
  12. Distribution: world
  13. Expires: 04/20/94
  14. Message-ID: <inn-faq-changes-1-764139608@Warren.MENTORG.COM>
  15. Reply-To: Tom_Limoncelli@Warren.MENTORG.COM (Tom Limoncelli)
  16. NNTP-Posting-Host: sdl.warren.mentorg.com
  17. Xref: bloom-beacon.mit.edu news.software.nntp:5493 news.software.b:4175 news.answers:17710
  18.  
  19. Posted-By: auto-faq 2.4
  20. Archive-name: inn-faq/diff1
  21.  
  22. [ There was a problem with the 'diff' shell script I was
  23. using.  Diffs haven't been properly posted here since
  24. the beginning of the year (maybe longer).  So, here are
  25. the diffs since Jan 1. ]
  26.  
  27.  
  28. *** 1.50    1994/01/17 14:32:59
  29. --- FAQ-inn.1    1994/03/24 16:59:44
  30. ***************
  31. *** 1,4 ****
  32. ! Last Changed: $Id: FAQ-inn.1,v 1.50 1994/01/17 14:32:59 tal Exp $
  33.   
  34.                     Part 1 of 4
  35.   
  36. --- 1,4 ----
  37. ! Last Changed: $Id: FAQ-inn.1,v 1.65 1994/03/24 16:59:42 tal Exp $
  38.   
  39.                     Part 1 of 4
  40.   
  41. ***************
  42. *** 23,28 ****
  43. --- 23,29 ----
  44.       Where can I get the latest copy of this FAQ?
  45.       What is INN?
  46.       What machines does it run on?
  47. +     INN must be really complicated since this FAQ is so long!
  48.       Can I run C News with INN?
  49.       Can I run NNTP with INN?
  50.       Can I run the reference implementation (NNTP1.5) with INN?
  51. ***************
  52. *** 31,39 ****
  53.       Does INN implement NOV, xthread (trn) or xuser/xmotd (tin) commands?
  54.       Is an ident or authorization protocol supported?
  55.       Does INN do UUCP batching like C News?
  56. !     Help!?  How do I configure this beast?
  57. !     What can I do if I can't purchase the O'Reiley And
  58. !         Associates book on Managing Usenet?
  59.   
  60.   SPECIFIC NOTES FOR SPECIFIC OPERATING SYSTEMS:
  61.       AIX tips
  62. --- 32,39 ----
  63.       Does INN implement NOV, xthread (trn) or xuser/xmotd (tin) commands?
  64.       Is an ident or authorization protocol supported?
  65.       Does INN do UUCP batching like C News?
  66. !     Help!  How do I configure this beast?
  67. !     How do I thank the FAQ maintainer?
  68.   
  69.   SPECIFIC NOTES FOR SPECIFIC OPERATING SYSTEMS:
  70.       AIX tips
  71. ***************
  72. *** 47,52 ****
  73. --- 47,53 ----
  74.       Mac running A/UX 3.0
  75.       NOV problems on a Pyramid
  76.       Warnings to people that must set HAVE_UNIX_DOMAIN to DONT
  77. +     Alpha OSF tips
  78.   
  79.   
  80.   The FAQ was written by Rich $alz <rsalz@rodan.uu.net> and is now
  81. ***************
  82. *** 108,118 ****
  83. --- 109,129 ----
  84.   get file faq-inn-4
  85.   ^D
  86.   
  87. + or if you csh and are a total nerd, you can:
  88. +     echo 'get file new-inn.'{1,2,3,4}@ \
  89. +         | tr @ '\012' | mail majordomo@warren.mentorg.com
  90.   
  91. + ...or get a real hobby.
  92.   ------------------------------
  93.   
  94.   Subject:  What is INN?
  95.   
  96. + For a complete answer, why not read the Usenix paper that introduced
  97. + INN to the world?  It's available as
  98. + ftp.uu.net:networking/news/nntp/inn/inn.usenix.ps.Z
  99.   InterNetNews is a complete Usenet system.  The cornerstone of the package
  100.   is innd, an NNTP server that multiplexes all I/O.  Think of it as an nntpd
  101.   merged with the B News inews, or as a C News relaynews that reads multiple
  102. ***************
  103. *** 139,144 ****
  104. --- 150,169 ----
  105.   
  106.   ------------------------------
  107.   
  108. + Subject:  INN must be really complicated since this FAQ is so long!
  109. + No, it's just that the FAQ is very complete.  Part 2 is so long because
  110. + it includes a tutorial that tries to turn a beginner into an TCP/IP
  111. + protocol expert.  Part 3 is long because the FAQ maintainer is
  112. + constantly trying to add every question ever asked on
  113. + news.software.nntp.  Maybe someone should volunteer to maintain an
  114. + index.
  115. + A lot of the material could be integrated into the Install.ms doc.
  116. + ------------------------------
  117.   Subject:  Can I run C News with INN?
  118.   
  119.   No.  INN handles all article reception, filing, forwarding, and
  120. ***************
  121. *** 260,266 ****
  122.   
  123.   The authd protocol is added to nnrpd by <nhiro@isci.kyutech.ac.jp>.
  124.   This unsupported patch can be found in
  125. ! ftp.geophys.hokudai.ac.jp:/pub/Network/INN/inn1.4/authd-patch-1.3.tar.gz.
  126.   The documentation is in Japanese.  Good luck.
  127.   
  128.   In a future release, you will be able to log all POST commands with
  129. --- 285,291 ----
  130.   
  131.   The authd protocol is added to nnrpd by <nhiro@isci.kyutech.ac.jp>.
  132.   This unsupported patch can be found in
  133. ! ftp.geophys.hokudai.ac.jp:/pub/network/news/inn/patches/authd-patch-1.3.tar.gz
  134.   The documentation is in Japanese.  Good luck.
  135.   
  136.   In a future release, you will be able to log all POST commands with
  137. ***************
  138. *** 286,313 ****
  139.   
  140.   ------------------------------
  141.   
  142. ! Subject:  Help!?  How do I configure this beast?
  143.   
  144.   READ AND FOLLOW THE "Install.ms" FILE.  This FAQ is meant to add to
  145.   what Install.ms says not replace it.
  146.   
  147. ! You should also purchase the O'Reiley And Associates book on Managing
  148.   Usenet to give yourself a good grounding on how to run a site.
  149.   
  150.   
  151.   ------------------------------
  152.   
  153. ! Subject:  What can I do if I can't purchase the O'Reiley
  154. !           And Associates book on Managing Usenet?
  155.   
  156. ! Hold a fundraiser?
  157.   
  158. ! Seriously, this document will help you some.  HOWEVER many people have
  159. ! thought that the install.ms doc was incomplete but then re-read the
  160. ! "First Time Installation" portion and were amazed how much they missed
  161. ! (or just plain skipped) the first time.  Personally, I've been a
  162. ! newsadmin for too long to be able to know if it would be good for
  163. ! beginners. :-)
  164.   
  165.   
  166.   ======================================================================
  167. --- 311,350 ----
  168.   
  169.   ------------------------------
  170.   
  171. ! Subject:  Help!  How do I configure this beast?
  172.   
  173.   READ AND FOLLOW THE "Install.ms" FILE.  This FAQ is meant to add to
  174.   what Install.ms says not replace it.
  175.   
  176. ! Many people that thought the Install.ms doc was incomplete later
  177. ! re-read the "First Time Installation" portion and were amazed how much
  178. ! they missed (or just plain skipped) the first time.
  179. ! You should also purchase the O'Reilly And Associates book on Managing
  180.   Usenet to give yourself a good grounding on how to run a site.
  181.   
  182.   
  183.   ------------------------------
  184.   
  185. ! Subject:  How do I thank the FAQ maintainer?
  186.   
  187. ! If you find this document useful, please consider making a donation to
  188. ! the maintainer's favorite charity:
  189.   
  190. !     The Personal Liberty Fund
  191. !     PO Box 11335
  192. !     New Brunswick, NJ 08906-1335
  193. !     USA
  194. ! The PLF is a legal and educational organization which helps people in
  195. ! New Jersey, USA.  They have many on-going projects which range from
  196. ! combating youth suicide to legal advocacy.  Their Anti-Violence Project
  197. ! runs a phone hotline for reporting gay-bashing which helps hundreds of
  198. ! people a year.  The PLF is an all-volunteer organization and couldn't
  199. ! survive without donations.  The PLF is recognized by the IRS as a
  200. ! 501(c)3 tax-exempt charity.  Donations are tax deductible to the
  201. ! fullest extent of the law (U.S. citizens only).  Please write "INN" in
  202. ! the memo field of the check.
  203.   
  204.   
  205.   ======================================================================
  206. ***************
  207. *** 329,335 ****
  208. --- 366,394 ----
  209.   different compress programm and change config.data accordingly.
  210.   (from Kurt Jaeger <pi@rus.uni-stuttgart.de>)
  211.   
  212. + Q:  innwatch doesn't work well from /etc/inittab, does it?
  213. + Q:  Nope.  Instead, you can create a "subsystem" with this command:
  214. + mkssys -s innwatch -p /usr/local/news/bin/innwatch -u news -G news -S -n 15 -f 9
  215. + Note that your path to innwatch may differ, depending on where you
  216. + decided to install the inn components.  You also need to enter the
  217. + command as one long line.
  218.   
  219. + This will create a subsystem named "innwatch" belonging to an SRC group
  220. + named "news".  The "-S" means that it uses signals for SRC to tell it
  221. + when to stop and the "-n" is the SIGTERM signal, for normal shutdown,
  222. + and the "-f" is the SIGKILL signal, which is sent if the process does
  223. + not stop within 20 seconds.  Then, modify rc.news to issue the command
  224. +     startsrc -s innwatch
  225. + to get innwatch going.  That's it!
  226. + Shane Castle <swcxt@boco.co.gov, swcxt@csn.org>
  227.   ------------------------------
  228.   
  229.   Subject:  SunOS 4.1.2 tips
  230. ***************
  231. *** 371,376 ****
  232. --- 430,438 ----
  233.   
  234.   Subject:  HP-UX tips
  235.   
  236. + Q.  My logs keep telling me there is no space for articles
  237. + A.  Edit innwatch.ctl to use "bdf" instead of "df".
  238.   Q. I am running inn on an HP machine. INN won't start up automatically.
  239.   I can start it manually.  There is no problem with news or INN once
  240.   it is started.
  241. ***************
  242. *** 386,401 ****
  243.   with Posix Session Leader concepts.  Ick.  (source: Steve Howie 
  244.   <scotty@piranha.cs.uoguelph.ca>)
  245.   
  246. ! HP-UX 8.07 users might find a problem with getting innwatch to
  247. ! start up.  People have found that having "at" start it seems
  248. ! to work more reliably than other methods:
  249.   
  250.   ${DOINNWATCH} && {
  251. !     echo "su ${NEWSUSER} -c ${INNWATCH}" | /usr/bin/at now +2 minutes
  252. ! #    echo "( ( sleep 60 ; ${INNWATCH} ) & )" | su ${NEWSUSER}
  253.   }
  254.   
  255.   
  256.   ------------------------------
  257.   
  258.   Subject:  Pyramid and system's where only root can have "cron" jobs.
  259. --- 448,466 ----
  260.   with Posix Session Leader concepts.  Ick.  (source: Steve Howie 
  261.   <scotty@piranha.cs.uoguelph.ca>)
  262.   
  263. ! HP-UX 8.x and 9.x users might find a problem with getting innwatch to
  264. ! start up.  People have found that having "at" start it seems to work
  265. ! more reliably than other methods:
  266.   
  267.   ${DOINNWATCH} && {
  268. !     echo "${INNWATCH} &" | su ${NEWSUSER} -c 'at now + 2 min' > /dev/null
  269.   }
  270.   
  271. + The '&' in the command line prevents innwatch from taking up an at-job 
  272. + slot.  SysV-style crons have a per-category and overall limit on the 
  273. + number of jobs executing simultaneously.
  274.   
  275.   ------------------------------
  276.   
  277.   Subject:  Pyramid and system's where only root can have "cron" jobs.
  278. ***************
  279. *** 434,450 ****
  280.   Don't be fooled.  Just because it compiles doesn't mean it's going to
  281.   work.
  282.   
  283. ! ------------------------------
  284.   
  285. ! Subject:  Solaris 2.x special needs
  286.   
  287. - Under Solaris 2.[012] (SunOS 5.0, 5.1, 5.2) you must add the following
  288. - at the beginning of each file using gethostbyname():
  289.   
  290. ! #define gethostbyname __switch_gethostbyname
  291.   
  292. ! Under Solaris 2.3 you still 
  293.   
  294.   Under Solaris 2.x (where x = 0, 1, 2 or 3) you need to change
  295.   the file "getfqdn.c".  Find the lines that read:
  296. --- 499,524 ----
  297.   Don't be fooled.  Just because it compiles doesn't mean it's going to
  298.   work.
  299.   
  300. ! If you start innd on an AT&T SysV Rel 4.0 machine and get syslog
  301. ! messages like:
  302. !     localhost:15 cant setsockopt(SNDBUF) Protocol error
  303. !     localhost:15 cant setsockopt(RCVBUF) Protocol error
  304. ! then you should FIRST try to change HAVE_UNIX_DOMAIN to "DONT" in
  305. ! config.data.  If that doesn't fix the problem, you should comment out
  306. ! the "setsockopt()" calls and things will work.
  307. ! Many SVR4 for i486 binaries (sendmail, mh, vmail, innd, rnews are now
  308. ! on ftp.germany.eu.net in pub/comp/i486/svr4/*.SVR4.tgz But remember
  309. ! that some of the above need site specific changes, so their usefulness
  310. ! may be limited.
  311.   
  312. ! If your SVR4 system still doesn't run correctly, check the
  313. ! Solaris 2.x suggestions.
  314.   
  315.   
  316. ! ------------------------------
  317.   
  318. ! Subject:  Solaris 2.x special needs
  319.   
  320.   Under Solaris 2.x (where x = 0, 1, 2 or 3) you need to change
  321.   the file "getfqdn.c".  Find the lines that read:
  322. ***************
  323. *** 458,471 ****
  324.   
  325.   and delete them.
  326.   
  327.   
  328.   ------------------------------
  329.   
  330.   Subject:  Mac running A/UX 3.0
  331.   
  332. ! Use the INN malloc.
  333.   
  334.   
  335.   ------------------------------
  336.   
  337.   Subject:  NOV problems on a Pyramid
  338. --- 532,586 ----
  339.   
  340.   and delete them.
  341.   
  342. + Under Solaris 2.[012] (SunOS 5.0, 5.1, 5.2) you must add the following
  343. + at the beginning of each file using gethostbyname():
  344. + #define gethostbyname __switch_gethostbyname
  345. + Under Solaris 2.3 gethostbyname() might work without changes depending
  346. + on your configuration.  We haven't figured out when they work and when
  347. + they don't.  If you run into problems, try to change "gethostbyname()"
  348. + to "solaris_gethostbyname()" and then use the gethostbyname() listed in
  349. + the Solaris Porting FAQ.  This isn't a perfect solution, because you
  350. + now need a different binary for Solaris 2.[012] systems.
  351. + It would be great if someone were to submit a solaris_gethostbyname()
  352. + function who's binary works under all Solaris revs and gives all the
  353. + semantics of BSD gethostbyname().  In particular, one that doesn't have
  354. + the problems discussed in sun bugid #1126573 or #1135988.  It would be
  355. + amazing if this was submitted by one of the many Sun employees that
  356. + flame the INN FAQ maintainer in comp.sys.sun.admin everytime he bitches
  357. + about how much he hates Solaris 2.x. :-)
  358. + Under all Solaris 2.* versions there is a problem with innwatch.ctl.
  359. + It expects to use "df -i" to find out how many inodes are free on your
  360. + disk.  /usr/{sbin,5bin,bin}/df doesn't support the "-i" option.  You
  361. + have to use "/usr/ucb/df -i" instead, since this version of df includes
  362. + the "-i" option.
  363.   
  364.   ------------------------------
  365.   
  366.   Subject:  Mac running A/UX 3.0
  367.   
  368. ! Tip #1: Use the INN malloc.
  369. ! Tip #2:  If you are running INN 1.4 on a Mac running A/UX 3.0.1, Every
  370. ! so often, (generally when someone fires up a reader), INN goes beserk.
  371. ! Syslog says:
  372. !     innd: ME cant select Bad file number
  373. ! This message repeats about 20 times per second.  It freezes up my
  374. ! computer and I need to reboot.
  375. ! That's a kernel bug. You do have to reboot.
  376.   
  377. + If you compiled inn with gcc, don't. My experience was that somehow, if
  378. + INN was compiled with GCC the kernel bug is triggered, but that doesn't
  379. + happen with cc.
  380.   
  381.   ------------------------------
  382.   
  383.   Subject:  NOV problems on a Pyramid
  384. ***************
  385. *** 521,525 ****
  386.   issue the "mode reader" command) or they must read news via the file
  387.   system instead of NNTP.
  388.   
  389. ! There is no way around this right now.
  390.   
  391. --- 636,665 ----
  392.   issue the "mode reader" command) or they must read news via the file
  393.   system instead of NNTP.
  394.   
  395. ! If you have NNTP-based newsreaders that can't send the "mode reader"
  396. ! command, you can try including "server: localhost" in your inn.conf
  397. ! file, but then you must have a different inn.conf file for the other
  398. ! machines.  If you can't do that, you have no other options but to
  399. ! recompile your newsreaders.
  400. ! Remember, if you change your inn.conf file, you must shutdown and
  401. ! restart innd.  There is no "ctlinnd reload inn.conf" command.
  402. ! ------------------------------
  403. ! Subject:  Alpha OSF tips:
  404. ! To compile INN for the DEC Alpha, follow the instructions in the INN
  405. ! patch archive on ftp.pop.psu.edu:/pub/src/news/inn-patches
  406. ! In rc.news you need to start $INNWATCH using the following:
  407. ! ${DOINNWATCH} && {
  408. !     echo "${INNWATCH} &" | su ${NEWSUSER} -c 'at now + 2 min' > /dev/null
  409. ! }
  410. !  
  411. ! The '&' in the command line prevents innwatch from taking up an at-job
  412. ! slot.  SysV-style crons have a per-category and overall limit on the 
  413. ! number of jobs executing simultaneously.
  414.   
  415.